package ru.paswd.marketprice.geocoder.sputnik.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.UUID;

@Data
@NoArgsConstructor
public class Properties {
    @JsonProperty("id")
    private Long id;

    @JsonProperty("type")
    private String type;

    @JsonProperty("description")
    private String description;

    @JsonProperty("display_name")
    private String displayName;

    @JsonProperty("title")
    private String title;

    @JsonProperty("address_components")
    private List<AddressComponent> addressComponents;

    @JsonProperty("fias_id")
    private UUID fiasId;

    @JsonProperty("full_match")
    private Boolean fullMatch;
}
